package com.three.storemanage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.Station;
import com.three.core.entity.Store;
import com.three.core.vo.R;
import com.three.storemanage.vo.SearchForm;
import com.three.storemanage.vo.StationVo;
import com.three.storemanage.vo.SearchForm;
import com.three.storemanage.vo.StationVo;

import java.util.List;


/**
 * @FileName: StationService
 * @Description:
 * @Author: GYX
 * @CreateTime: 2025/3/11 14:38
 * @Version: 1.0.0
 */
public interface StationService {
    R<Page<StationVo>> findStationByCondition(SearchForm searchForm);
    R deleteStationById(Integer station);

    R addStation(Station station);

    R updateStation(Station station);

    R<List<Store>> queryAll(Double userLng, Double userLat, String storeName);

    R<List<Store>> queryAll2(Double userLng, Double userLat);

    R<List<Store>> selectStoreByUserId();

    R<List<Station>> selectStationByStoreId(Integer storeId);
}
